package com.woniuxy.ticketconfig;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
@EnableDiscoveryClient  //服务被发现
@EnableConfigServer
@SpringBootApplication
public class TicketConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(TicketConfigApplication.class, args);
    }
}
